.item-node {
  box-sizing: border-box;
}

:global(.editing .container) {
  outline: 1px dashed rgba(0, 50, 100, 1);
}

.view-card {
  color: var(--color-font-2);
  display: block;
  cursor: move;
  width: 120px;
  box-sizing: border-box;
  border-radius: 2px;
  background: var(--color-2);
  border: 1px solid var(--color-3);
  box-shadow: 0px 0px 12px var(--color-2);
}

.view-card:hover {
  outline: 1px dashed var(--color-8);
}

.view-card-header {
  font-size: 11px;
  padding: 2px 8px;
  background-color: var(--color-3);
}

.view-card-body {
  pointer-events: none;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.params {
  --el-color-primary: var(--color-6);
  padding: 0px;
  border: 0;
}

.params-title {
  color: var(--color-font-2);
  margin: 10px;
}

.params-item {
  --label-width: 80px;
  display: flex;
  padding: 10px;
  border-bottom: 1px solid var(--color-2);

  .params-item-label {
    font-size: 11px;
    color: var(--color-font-1);
    flex: 0 0 var(--label-width);
    display: flex;
    align-items: start;
  }
}

.params-item-content {
  flex: 0 0 auto;
  width: calc(100% - var(--label-width));
}

.params-item .distance-box {
  display: grid;
  grid-template-rows: 33% 33% 33%;
  grid-template-columns: 33% 33% 33%;
}

.params-item .distance-left {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 2;
}

.params-item .distance-right {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 3;
  grid-column-end: 4;
}

.params-item .distance-top {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 2;
  grid-column-end: 3;
}

.params-item .distance-bottom {
  grid-row-start: 3;
  grid-row-end: 4;
  grid-column-start: 2;
  grid-column-end: 3;
}

.params-item :global(:focus-visible) {
  outline: none;
}

.params-item :global(.el-select) {
  min-width: 100px;
}

.params-item :global(.el-tree) {
  box-sizing: border-box;
  width: 170px;
  padding: 10px;
  border-radius: 5px;
}

.params-item :global(.el-tag) + :global(.el-tag) {
  margin-left: 5px;
}
